import {createApp} from 'vue'
// @ts-ignore
import App from './App.vue'
import router from './router'

import ElementPlus from 'element-plus'
import 'element-plus/theme-chalk/index.css'
import * as ElementPlusIcons from '@element-plus/icons-vue';
import VueAxios from "vue-axios";
import axios from "axios";




const app = createApp(App)
    .use(router)
    .use(ElementPlus)
    .use(VueAxios, axios);

for (let iconName in ElementPlusIcons) {
    // @ts-ignore
    app.component(iconName, ElementPlusIcons[iconName]);
}
app.mount('#app')


